﻿@model DateTime?
@if (Model.HasValue)
{
@Html.TextBox(string.Empty, Model.Value.ToString("yyyy-MM-dd"), new { @class = "kendo_datepicker", type = "date" })
}
else
{
@Html.TextBox(string.Empty, null, new { @class = "kendo_datepicker", type = "date" })
}
